package com.gszy.auth.service;

import com.gszy.auth.dao.ProductDao;
import com.gszy.auth.entity.Product;
import com.gszy.auth.mvc.BeanFactory;

import java.util.List;

/**
 * @author MeUChT
 */
public class ProductService {

    private ProductDao productDao = BeanFactory.getInstance(ProductDao.class);
    public List<Product> findAll(){
        return productDao.findAll();
    }
}
